package com.wego.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.wego.bean.base.BaseExcel;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

/**
 * 用户
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserExcel extends BaseExcel {
    /**
     * 头像
     */
    @ExcelProperty(value = "头像")
    private String avatar;

    /**
     * 昵称
     */
    @ExcelProperty(value = "昵称")
    private String nickname;

    /**
     * 账户
     */
    @ExcelProperty(value = "账户")
    private String account;

    /**
     * 性别： 1男  2女  3未知
     */
    @ExcelProperty(value = "性别")
    private String gender;

    /**
     * 生日
     */
    @ExcelProperty(value = "生日")
    private LocalDate birthday;

    /**
     * 状态： 1正常  2功能受限  3 已删除
     */
    @ExcelProperty(value = "状态")
    private String state;

    /**
     * 游龄
     */
    @ExcelProperty(value = "游龄")
    private Integer gameAge;

    /**
     * 游戏偏好(可存放JSON字符串或逗号分隔的标签)
     */
    @ExcelProperty(value = "偏好")
    private String preference;
}